package ae.pcfc.cldos.online.common.clddb.domain.manager.provider;

import java.util.List;

import ae.pcfc.cldos.online.common.clddb.dao.FnpParamMapperDAO;
import ae.pcfc.cldos.online.common.clddb.domain.FnpParamMapper;
import ae.pcfc.cldos.online.common.clddb.domain.manager.FnpParamMapperDOM;

/**
 * 
 * @author akhader
 *
 */
public class FnpParamMapperDOMImpl implements  FnpParamMapperDOM {
	
	private FnpParamMapperDAO fnpParamMapperDAO;

	public FnpParamMapperDAO getFnpParamMapperDAO() {
		return fnpParamMapperDAO;
	}

	public void setFnpParamMapperDAO(FnpParamMapperDAO fnpParamMapperDAO) {
		this.fnpParamMapperDAO = fnpParamMapperDAO;
	}
	/**
	 * @param serviceId
	 * @return
	 */
	public List<FnpParamMapper> getParamMappingByServiceId(String serviceId){
		return fnpParamMapperDAO.getParamMappingByServiceId(serviceId);
	}
	/**
	 * @param fnpParamMappers
	 * @param serviceIds
	 */
	public void saveParamMapping(List<FnpParamMapper> fnpParamMappers, List<String> serviceIds){
		fnpParamMapperDAO.saveParamMapping(fnpParamMappers, serviceIds);
	}
	/* (non-Javadoc)
	 * @see ae.pcfc.cldos.online.common.clddb.domain.manager.FnpParamMapperDOM#deleteAll(java.lang.String)
	 */
	public void deleteAll(String serviceId){
		fnpParamMapperDAO.deleteAll(serviceId);
	}
	
}
